﻿using System;
using System.Windows.Forms;

namespace TextEditor
{
   

    public class A_ActiveSmartTag : A_Action
    {
        public A_ActiveSmartTag()
        {
            base.HotKey = Keys.Control | Keys.M;
        }

        public override string ActionName()
        {
            return "activesmarttag";
        }

        public override bool Execute()
        {
            if (base.OwnerDocument.OwnerControl != null)
            {
                base.OwnerDocument.OwnerControl.ActiveSmartTag();
            }
            return true;
        }
    }
}

